import com.wjs.spring.service.OrderService;
import com.wjs.spring.service.OrderServiceImpl;
import com.wjs.spring.service.OrderServiceProxy;

public class OrderTest {
    public static void main(String[] args) {
        //创建目标对象
        OrderService target = new OrderServiceImpl();
       //创建代理对象
        OrderService Proxy = new OrderServiceProxy(target);
        //调用代理方法
        Proxy.insert();
        Proxy.delete();
        Proxy.update();
        Proxy.select();
    }
}
